package com.zmn.plat.manager.constant;

/**
 * 描述: 发送消息状态常量类
 *
 * @auther tanghongjun
 * @since 2019/10/22 10:00
 */
public class ZmnSmsConsts {

    /**
     * 消息发送成功状态
     */
    public final static int MSG_SEND_SUCCESS = 1;

    /**
     * 消息发送成功
     */
    public final static String MSG_SEND_SUCCESS_STR = "消息发送成功";

    /**
     * 模板组已禁用
     */
    public final static int MSG_SEND_ERROR_GROUP_HIDDEN = 2;

    /**
     * 模板组已禁用
     */
    public final static String MSG_SEND_ERROR_GROUP_HIDDEN_STR = "模板组已禁用";

    /**
     * 通用模板配置有误
     */
    public final static int MSG_SEND_CURRENCY_NONE_ERROR = 3;

    /**
     * 通用模板配置有误
     */
    public final static String MSG_SEND_CURRENCY_NONE_ERROR_STR = "通用模板配置有误";

    /**
     * 微信没有openId
     */
    public final static int MSG_SEND_NO_OPENID_ERROR = 4;

    /**
     * openId不能为空
     */
    public final static String MSG_SEND_NO_OPENID_ERROR_STR = "openId不能为空";

    /**
     * 微信模板ID为空
     */
    public final static int MSG_NO_WEICHART_TEMPLATE_ID_ERROR = 5;

    /**
     * 微信模板ID为空
     */
    public final static String MSG_NO_WEICHART_TEMPLATE_ID_ERROR_STR = "微信模板ID为空";

    /**
     * 微信发送失败
     */
    public final static int MSG_SEND_WEICHART_TERROR = 6;

    /**
     * 微信发送失败
     */
    public final static String MSG_SEND_WEICHART_TERROR_STR = "微信发送失败";

    /**
     * 模板配置有误
     */
    public final static int MSG_NO_TEMPLATE_MESSAGE_ERROR = 7;

    /**
     * 模板配置有误
     */
    public final static String MSG_NO_TEMPLATE_MESSAGE_ERROR_STR = "模板配置有误";

    /**
     * 创蓝发送短信失败
     */
    public final static int MSG_SEND_CN_TERROR = 8;

    /**
     * 创蓝发送短信失败
     */
    public final static String MSG_SEND_CN_TERROR_STR = "创蓝发送短信失败";

    /**
     * 阿里发送短信失败
     */
    public final static int MSG_SEND_ALI_TERROR = 9;

    /**
     * 阿里发送短信失败
     */
    public final static String MSG_SEND_ALI_TERROR_STR = "阿里发送短信失败";

    /**
     * 掌上通发送短信失败
     */
    public final static int MSG_SEND_ZST_TERROR = 10;

    /**
     * 创蓝发送短信失败
     */
    public final static String MSG_SEND_ZST_TERROR_STR = "掌上通发送短信失败";

    /**
     * 消息发送失败（失败原因未知）
     */
    public final static int MSG_SEND_ERROR = 11;

    /**
     * 消息发送失败（失败原因未知）
     */
    public final static String MSG_SEND_ERROR_STR = "消息发送失败";

    /**
     * 微信发送失败 无token
     */
    public final static int MSG_SEND_WECHAT_NO_TOKEN = 12;

    /**
     * 微信发送失败 无token
     */
    public final static String MSG_SEND_WECHAT_NO_TOKEN_STR = "微信发送失败没有token";

    /**
     * 微信发送失败 无公众号id
     */
    public final static int MSG_SEND_WECHAT_NO_APP_ID = 13;

    /**
     * 微信发送失败 无公众号id
     */
    public final static String MSG_SEND_WECHAT_NO_APP_ID_STR = "微信发送失败无公众号id";


    /**
     * 描述: 百度模板消息发送失败
     **/
    public final static int MSG_SEND_BAIDU_FORM_ID_REPEAT = 14;
    public final static String MSG_SEND_BAIDU_FORM_ID_REPEAT_STR = "百度消息发送失败，formId 7天内已被使用";
}
